<%@ Page language="c#" MasterPageFile="~/Manager/Admin/Admin.master" Inherits="Dimok.Aspx.Manager.Underwriting.FQuest.Decision" CodeFile="Decision.aspx.cs" %>
<asp:Content ContentPlaceHolderID="AC" runat="server">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 
<TITLE>Decision</TITLE>
<META name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<META name="CODE_LANGUAGE" Content="C#">
<META name=vs_defaultClientScript content="JavaScript">
<META name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<?XML:NAMESPACE PREFIX="COOL"/>
<LINK rel="stylesheet" type="text/css" href="/CSS/Outlook.css">
<STYLE>
cool\:tip{behavior: url(/Include/HTC/cooltip_js.htc)}
LEGEND {COLOR:navy;FONT-WEIGHT:bold}
.neg{color:darkred}
.bar{color:navy}
INPUT.neg{border:1 solid black}
.VTOP{vertical-align:top}
</STYLE>
<SCRIPT language="javascript" src="/Manager/Common/Common.js"></SCRIPT>
<SCRIPT language="javascript" src="/Manager/Common/Events.js"></SCRIPT>
<SCRIPT language="javascript" src="/JS/UI/Dimok.PageEvents.js"></SCRIPT>
<COOL:TIP id="oTip" avoidmouse="true" DURATION="60"></COOL:TIP>
<BUTTON onclick="pullCredit_Decision(true)" class="VTOP">Pull credit</BUTTON>
<!--BUTTON onclick="faxCallback()" Class="VTOP">Fax</BUTTON-->
<LOAN:DEALER runat="server" ID="dealer" onDealerChanged="reloadPage(arguments.callee.caller.arguments)" />
<CAR:CAR runat="server" id="car" style="display:block" onbookvaluechange="reloadPage(null)"  onvinchange='UF(null,"VIN",event.VIN||null,"XmlLoanInfo")' />
<fieldset style="border-color:Maroon;display:inline;clear:both;vertical-align:top"><legend><label style="color:#4D0028">CONTRACT</label></legend><div>
<LOAN:BUYERSORDER style="vertical-align:top" ID="bo" ondecisionchanged="reloadPage(arguments.callee.caller.arguments)" runat="server" />
<LOAN:TRUTHINLENDING style="vertical-align:top" ID="til" onTILChanged="reloadPage(arguments.callee.caller.arguments)" runat="server" />
</div>
</fieldset>
<LOAN:PurchaseContract style="display:block" ID="pc" runat="server" />
<LOAN:CreditInfo ID="CreditInfo" style="display:inline;width:1px" runat="server" />
<div style="overflow-x:auto;width:100%;overflow-y:visible;padding-bottom:15px">
<UI:TradeReferences ID="TradeReferences" runat="server" />
</div>
<SCRIPT language="javascript">
pageLoads.push(page_Load);
function page_Load(){
	attachToKeyDown();
	initPreset();
	initInputs();
}
function reloadPage(ret){
	//initWS("DECISION","/Manager/Underwriting/Decision.asmx");
	if( event.srcElement != bo) bo.reloadMe(ret);
	if( event.srcElement != pc) pc.reloadMe(ret);
	if( event.srcElement != til) til.reloadMe(ret);
}
function faxCallback(){
	showModalDialog("CallBack.aspx?ApplID="+ApplID()+"&IsFax=1&NoLock=1",{opener:top});
}
function pullCredit_Decision(){
	if( pullCredit() )reloadPage();
}
</SCRIPT>
</asp:Content>